import {BaseApi, BaseEntity} from "@/base/ts/api/base/BaseApi.ts";

class SysDictItemApi<T> extends BaseApi<T> {
    API_PREFIX = '/sys/dictItem';

}

export default new SysDictItemApi<DictItem>();

export interface DictItem extends BaseEntity {
    id?: string;
    label?: string;
    value?: string|boolean;
    code?: string;
    remark?: string;
    sort?: number;
    disabled?: boolean;
    isDefault?: boolean;
}
